package light.head.model.el;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 教室详情
 */
@Table
@Entity
public class ClassRoomItem implements Serializable{
	
	private static final long serialVersionUID = 8091619630680785267L;
	private Integer code;			// 流水号
	private String title;			// 标题
	private Integer crc;			// 教室编号
	private Integer clc;			// 班级编号
	private Date startTime;			// 使用开始时间
	private Date endTime;			// 使用结束时间
	private Boolean allDay;			// 是否全天
	private String remark;			// 备注
	private Boolean deleted;		// 是否删除
	
	
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public String getTitle() {
		return title;
	}
	@Column
	public Integer getCrc() {
		return crc;
	}
	@Column
	public Date getStartTime() {
		return startTime;
	}
	@Column
	public Date getEndTime() {
		return endTime;
	}
	@Column
	public String getRemark() {
		return remark;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	@Column
	public Integer getClc() {
		return clc;
	}
	@Column
	public Boolean getAllDay() {
		return allDay;
	}
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setCrc(Integer crc) {
		this.crc = crc;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	public void setClc(Integer clc) {
		this.clc = clc;
	}
	public void setAllDay(Boolean allDay) {
		this.allDay = allDay;
	}
	public void setTitle(String title) {
		this.title = title;
	}
}
